﻿<?php
require_once("include/common.inc.php");
require_once("include/dedesql.class.php");

$title = '法治天下 - 法律法规';
require_once('common/header.php');
?>
<div class="meun2 clearfix">
	<dl>
		<dd><a href="" class="falvfagui_a_01"><span>法律法规</span></a></dd>
	</dl>
</div>

<div class="index_box_lawyer clearfix">
<link href="/css/css02.css" rel="stylesheet" />
	<div style="width:720px;float:left;">
<!--- 法律法规查询  start------>
	<div class="cn_box01 case2_input"> <!--  style="width:715px;float:left;" -->
		<form name="form1" action="search_law.php" method="post" target="_blank">
		<ul class="case2_dl_input01">
			<?
				$sql = "select * from object_positive_title where status = '1'";
				$dsql->SetQuery($sql);
				$dsql->Execute();
				while($row = $dsql->GetArray())
				{
					//echo "<li><a href='/content-list.php?tid=42&oname=6&ovalue=".$row['id']."' target='_blank'>".$row['val']."</a></li>";
					echo "<span style=\"float:left; width:100px\"><input type=\"checkbox\" name=\"objval[]\" value=\"".$row['id']."\" class=\"dq\" id=\"x01\"/> <a>".$row['val']."</a></span>";
				}
			?>
		</ul>
		<ul  class="clearfix case2_dl_input12">
			<li><img src="images/gjc.gif"/></li>
			<li><input id="keyword_id" type="text" name="keyword" value="" size="100" class="dq search_input w354"/></li>
		</ul>
		<ul  class="clearfix case2_dl_input14">
			<li><input id="" type="submit" name="submit" value=" " class="dq case_but_01"/></li>
			<li><input id="" type="button" name="" value=" " class="dq case_but_02" onclick="javascript:document.getElementById('keyword_id').value='';"/></li>
		</ul>
		</form>
	</div>
<!--- end------>
		<div class="height_3"></div>
<!--- 分类导航  start------>
		<div class="cn_box01">
			<h2 class="box_title">分类导航</h2>
			<h3 class="title_2ji"><span class="">法律条文释义</span></h3>
			<ul class="all_row_box02 clearfix" style="font-size:14px; height: 47px;">
				<?
					$sql = "select * from object_main_type_title where status = '1'";
					$dsql->SetQuery($sql);
					$dsql->Execute();
					while($row = $dsql->GetArray())
					{
						echo "<li><a href='/content-list.php?tid=42&oname=4&ovalue=".$row['id']."' target='_blank'>".$row['val']."</a></li>";
					}
				?>
			</ul>
			<h3 class="title_2ji"><span class="">法律实务指南</span></h3>
			<ul class="all_row_box02 clearfix" style="font-size:14px; height: 47px;">
				
				<?
					$sql = "select * from object_law_type_title where status = '1'";
					$dsql->SetQuery($sql);
					$dsql->Execute();
					while($row = $dsql->GetArray())
					{
						echo "<li><a href='/content-list.php?tid=42&oname=5&ovalue=".$row['id']."' target='_blank'>".$row['val']."</a></li>";
					}
				?>
			</ul>       
			<h3 class="title_2ji"><span class="">效力级别</span></h3>
			<ul class="all_row_box02 clearfix" style="font-size:14px; height: 47px;">
				<?
					$sql = "select * from object_positive_title where status = '1'";
					$dsql->SetQuery($sql);
					$dsql->Execute();
					while($row = $dsql->GetArray())
					{
						echo "<li><a href='/content-list.php?tid=42&oname=6&ovalue=".$row['id']."' target='_blank'>".$row['val']."</a></li>";
					}
				?>
			</ul>   
			<h3 class="title_2ji"><span class="">地域检索</span></h3>
			<ul class="all_row_box02 clearfix" style="font-size:14px; height: 47px;">
				<?
					$sql = "select * from object_city_title where status = '1'";
					$dsql->SetQuery($sql);
					$dsql->Execute();
					while($row = $dsql->GetArray())
					{
						echo "<li><a href='/content-list.php?tid=42&oname=7&ovalue=".$row['id']."' target='_blank'>".$row['val']."</a></li>";
					}
				?>
			</ul>   
			<h3 class="title_2ji"><span class="">颁布部门</span></h3>
			<ul class="all_row_box02 clearfix" style="font-size:14px; height: 47px;">
				<?
					$sql = "select * from object_department_title where status = '1'";
					$dsql->SetQuery($sql);
					$dsql->Execute();
					while($row = $dsql->GetArray())
					{
						echo "<li><a href='/content-list.php?tid=42&oname=8&ovalue=".$row['id']."' target='_blank'>".$row['val']."</a></li>";
					}
				?>
			</ul>       
		</div>
<!--- end------>

	</div>
	<div class="right">
<!--- 学人社区  start------>
		<div class="cn_box01">
			<h2 class="box_title">常用法律法规</h2>
			<ul class="one_row_box03_2 font12" style="height:239px">
				<?
					$tpl = '<li class="clearfix"><a href="/info.php?id={{id}}" target="_blank">{{title}}</a></li>';
					
					$sql = "select a.* From cms_archives a, cms_arctiny b where a.typeid in(42) and a.id=b.id and a.flag!='c' and b.arcrank = '-2' order by a.id desc limit 0,12";

					$dsql->SetQuery($sql);
					$dsql->Execute();
					while($row = $dsql->GetArray())
					{
						echo '<li class="clearfix"><a href="/info.php?id='.$row['id'].'" target="_blank" style="color:#2263AC">'.SubTitle($row['title'], 32).'</a></li>';
					}
				?>
			</ul>
			<p class="more_box"><a href="/content-list.php?tid=42" class="more" target="_blank">More..</a><p>
		</div>
		<div class="height_3"></div>
		<div class="cn_box01">
			<h2 class="box_title">最新法律法规</h2>
			<ul class="one_row_box03_2 font12" style="height:260px">
				<?
					$tpl = '<li class="clearfix"><a href="/info.php?id={{id}}" target="_blank" style="color:#2263AC">{{title}}</a></li>';
					echo show_title_list('42', $tpl, 12, 0, 28);
				?>
			</ul>      
			<p class="more_box"><a href="/content-list.php?tid=42" class="more" target="_blank">More..</a><p>       
		</div>
<!--- end------>
	</div>
</div>
<? include("common/footer.php")?>
</body>
</html>